package gof.com.yew.decorator;

public class FlyCarDecorator extends CarDecorator {

	public FlyCarDecorator(ICar car) {
		super(car);
	}
	
	public void run() {
		car.run();
		fly();
	}
	
	public void fly() {
		System.out.println("车可以飞");
	}

}
